package com.group.pojo;

import java.util.Arrays;
import java.util.Date;

public class TbUser {
    private String id;

    private String userId;

    private String loginName;

    private String userPassword;

    private String passwordType;

    private Date passwordExpire;
    private String passwordExpireTime;

    private String userName;

    private String userSex;

    private String userMobile;

    private String userEmail;

    private String userAddress;

    private String userDesc;

    private String createUserId;

    private Date createTime;

    private Date lastLoginTime;

    private Integer loginCount;

    private Date lastLoginFailedTime;

    private Integer loginFailedCount;

    private String userStatus;
    
    private String updateUserId;
    private Date updateTime;
    
    private String[] roleIds;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName == null ? null : loginName.trim();
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword == null ? null : userPassword.trim();
    }

    public String getPasswordType() {
        return passwordType;
    }

    public void setPasswordType(String passwordType) {
        this.passwordType = passwordType == null ? null : passwordType.trim();
    }

    public Date getPasswordExpire() {
        return passwordExpire;
    }

    public void setPasswordExpire(Date passwordExpire) {
        this.passwordExpire = passwordExpire;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex == null ? null : userSex.trim();
    }

    public String getUserMobile() {
        return userMobile;
    }

    public void setUserMobile(String userMobile) {
        this.userMobile = userMobile == null ? null : userMobile.trim();
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail == null ? null : userEmail.trim();
    }

    public String getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress == null ? null : userAddress.trim();
    }

    public String getUserDesc() {
        return userDesc;
    }

    public void setUserDesc(String userDesc) {
        this.userDesc = userDesc == null ? null : userDesc.trim();
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId == null ? null : createUserId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public Integer getLoginCount() {
        return loginCount;
    }

    public void setLoginCount(Integer loginCount) {
        this.loginCount = loginCount;
    }

    public Date getLastLoginFailedTime() {
        return lastLoginFailedTime;
    }

    public void setLastLoginFailedTime(Date lastLoginFailedTime) {
        this.lastLoginFailedTime = lastLoginFailedTime;
    }

    public Integer getLoginFailedCount() {
        return loginFailedCount;
    }

    public void setLoginFailedCount(Integer loginFailedCount) {
        this.loginFailedCount = loginFailedCount;
    }

    public String getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(String userStatus) {
        this.userStatus = userStatus == null ? null : userStatus.trim();
    }

	

	public String getPasswordExpireTime() {
		return passwordExpireTime;
	}

	public void setPasswordExpireTime(String passwordExpireTime) {
		this.passwordExpireTime = passwordExpireTime;
	}

	public String[] getRoleIds() {
		return roleIds;
	}

	public void setRoleIds(String[] roleIds) {
		this.roleIds = roleIds;
	}
	
	

	public String getUpdateUserId() {
		return updateUserId;
	}

	public void setUpdateUserId(String updateUserId) {
		this.updateUserId = updateUserId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Override
	public String toString() {
		return "TbUser [id=" + id + ", userId=" + userId + ", loginName=" + loginName + ", userPassword=" + userPassword
				+ ", passwordType=" + passwordType + ", passwordExpire=" + passwordExpire + ", passwordExpireTime="
				+ passwordExpireTime + ", userName=" + userName + ", userSex=" + userSex + ", userMobile=" + userMobile
				+ ", userEmail=" + userEmail + ", userAddress=" + userAddress + ", userDesc=" + userDesc
				+ ", createUserId=" + createUserId + ", createTime=" + createTime + ", lastLoginTime=" + lastLoginTime
				+ ", loginCount=" + loginCount + ", lastLoginFailedTime=" + lastLoginFailedTime + ", loginFailedCount="
				+ loginFailedCount + ", userStatus=" + userStatus + ", updateUserId=" + updateUserId + ", updateTime="
				+ updateTime + ", roleIds=" + Arrays.toString(roleIds) + "]";
	}

	

	
	
	
    
}